from threading import Thread,Event
e=Event()
msg=None
def yzr():
    print("杨子荣前来投奔：")
    global msg
    msg="天王盖地虎"
    e.set()
if __name__ == '__main__':
    t=Thread(target=yzr)
    t.start()
print("\n说对口令才是自己人")
e.wait()
if msg=="天王盖地虎":
    print("宝塔镇河妖")
    print("口令正确")
else:
    print("你是叛徒")
    print("你好")
    print("我也好")